package controls.events
{
	import flash.events.Event;

	public class ServiceEvent extends Event
	{
		public function ServiceEvent(type:String, data:Object = null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.data = data;
		}
		
		public var data:Object;
		
		public static var PROGRAM_LOADED:String = "programLoaded";
		public static var SERVICE_CONNECTED:String = "serviceConnected";
		public static var MAJORS_LOADED:String = "majorsLoaded";
		public static var MINORS_LOADED:String = "minorsLoaded";
		public static var CERTIFICATES_LOADED:String = "certificatesLoaded";
		public static var USER_VERIFIED:String = "userVerified";
		public static var USER_DENIED:String = "userDenied";
		public static var USER_DEGREE_REMOVED:String = "degreeRemoved";
		public static var USER_DEGREE_ADDED:String = "degreeAdded";
		public static var PROFESSOR_LOADED:String = "professorLoaded";
		public static var COURSES_LOADED:String = "coursesLoaded";
		public static var USER_COURSE_ADDED:String = "userCourseAdded";
		public static var USER_COURSES_LOADED:String = "userCoursesLoaded";
	}
}